package com.example.noval.db.entities

import androidx.room.Entity
import androidx.room.PrimaryKey
import com.example.noval.db.rule.BookInfoRule
import com.example.noval.db.rule.ContentRule
import com.example.noval.db.rule.SearchRule
import com.example.noval.db.rule.TocRule
import java.net.IDN

/**
 * @Description
 * @Author zzl
 * @Date 2024/3/18
 */
@Entity("book_source")
data class BookSource(
    @PrimaryKey
    var id:Int=0,
    var bookSourceName:String="",
    var bookSourceUrl:String="",
    var searchRule: SearchRule?=null,
    var bookInfoRule: BookInfoRule?=null,
    var tocRule:TocRule?=null,
    var contentRule: ContentRule?=null
    
) {
    
}